package com.kool.kadmin.system.dao;

import com.kool.kadmin.system.bean.SysAutDo;
import com.kool.kadmin.system.bean.SysRoleAutDo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author luyu
 */
public interface SysRoleAutDao {
    int insert(SysRoleAutDo sysRoleAutDo);

    int deleteByRoleCode(@Param("roleCode") String roleCode);

    int batchInsert(List<SysRoleAutDo> list);

    List<SysAutDo> getAutByRoleCode(@Param("roleCode") String roleCode);
}
